package com.funShopping.user.service.impl;

import com.funShopping.user.domain.TbUser;
import com.funShopping.user.mapper.UserMapper;
import com.funShopping.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: funShopping
 * @description: 用户业务逻辑层实现类
 * @author: talented_zhang
 * @create: 2024-03-25 22:08
 **/
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public TbUser getById(Integer id) {
        return userMapper.getById(id);
    }
}
